// app.js
App({
  onLaunch() {
		// 获取胶囊
		const getMenuButtonBounding = () => {
			const res = wx.getMenuButtonBoundingClientRect()
			this.top = res.height + res.top
			this.boundingHeight = res.height
			this.boundingTop = res.top
			console.log("APP Launch 胶囊信息:", this.top, this.boundingHeight, this.boundingTop);
		}
		getMenuButtonBounding()
  },
  globalData: {
		userInfo: null,
		top: 0,
		boundingHeight: 0,
		boundingTop: 0
  }
})
